package com.fsxgt.datagrid.flow.dao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import com.fsxgt.datagrid.flow.bo.FlowMenuBO;
@Repository
@Mapper
public interface FlowMenuMapper {
	


	
	List<FlowMenuBO> findFlowInfo(@Param("list")List list);
	
	void insertFlowMenu(FlowMenuBO bo);
	
	void updateFlowMenuName(@Param("id")String id,@Param("name")String name);
	
	
	FlowMenuBO getFlowMenuById(@Param("id")String id);
	
	FlowMenuBO findRoot(@Param("id")String id);
	
	
	
	List<FlowMenuBO> getChildrenById(@Param("id")String id);
	
	void deleteFlowMenu(@Param("id")String id);

	/**  
	 * @Title: findMenu
	 * @Description: TODO(描述)
	 * @return
	 * @author liuyi
	 * @date 2023-09-25 14:50:39 
	 */  
	List<FlowMenuBO> findMenu();
	
	List<FlowMenuBO>  findMenuByRoot();
	
	
	
	
	
	
	
	
	
	
	
	

	
	

}
